updating oE money

money

include locale.e 
namespace locale 
public function money(object amount) 

converts an amount of currency into a string representing that amount.

Parameters:
  1. amount : an atom, the value to write out.
Returns:

A sequence, a string that writes out amount of current currency.

Example 1:
-- Assuming an en_US locale 
money(1020.5) -- returns"$1,020.50" 
See Also:

set, number

Not Categorized, Please Help

Search



Quick Links

User menu

Not signed in.

Misc Menu